home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE widgetcontainer SYSTEM "http://www.sigames.com/dtds/widgetcontainer.dtd">
-
- <panel title="game date">
-
- <!-- formatting of date -->
- <flags id="frmt">
- [%date#1-day]<return/>[%date#1-short]<return/>[%date#1-time]
- </flags>
-
- <!-- main box -->
- <widget class="group_box" id="!dbox">
- <!-- nb. if this box has an id of "dbox" it will get hidden when
- the date isn't supposed to be visible
- I've changed this to "!dbox" to stop this happening, because we always
- want the picture to be visible
- -->
-
-
- <!-- centre all content vertically inside this box -->
- <layout class="centre_in_parent_attachment" alignment="vertical" inset="0" layout_children="true"/>
-
- <!-- stick this box to it's parent on all sides -->
- <layout class="stick_to_sides_attachment" alignment="all" inset="0"/>
-
- <!-- date picture -->
- <widget class="picture" id="dpic" file="logos/si_logo_faded" auto_size="all">
- <!-- horizontally centred inside box -->
- <layout class="centre_in_parent_attachment" alignment="horizontal" inset="0"/>
- </widget>
-
- <!-- actual date text -->
- <widget class="text" alignment="centre" id="date" spec="text, small">
- <!-- sticks to horizontal sides of parent -->
- <layout class="stick_to_sides_attachment" alignment="horizontal" inset="0"/>
-
- <!-- auto-sizes vertically -->
- <flags id="auto_size" value="vertical"/>
-
- <!-- override text colour -->
- <colour name="yellow"/>
- </widget>
- </widget>
-
- </panel>